package com.salih.androidtestapp;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;




public class MainActivity extends Activity {

	Button btn;
	TextView tv;
	EditText Et;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    
    btn = (Button) findViewById(R.id.buttonOk);
    tv = (TextView) findViewById(R.id.yaz1);
    Et = (EditText) findViewById(R.id.et123);
    
    btn.setOnClickListener(new View.OnClickListener() {
		
		@Override
		public void onClick(View v) {
		
		tv.setText(Et.getText());	
		}
	});
    
    }
    
    
    
}
